package galaxies;

import java.util.HashSet;

import model.IModel;
import view.EViewList;
import view.AbstractView;
import view.View;

import com.jme3.input.controls.ActionListener;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.shape.Box;
import com.jme3.texture.Texture;

import controller.IController;
import eventManager.IEventData;

/*
 * Galaxy view
 */
public class GalaxyView implements AbstractView {
	
	private Material material;	
	private View view;
	
	public GalaxyView(EViewList name, Material material) {
		this.view = new View(name);
		this.material = material;		
		loadInputListeners();
	}

	public void update() {
		// TODO Auto-generated method stub
		
	}

	public void executeStrategy(IEventData event) {
		// TODO Auto-generated method stub
		
	}

	public void setController(IController controller) {
		// TODO Auto-generated method stub
		
	}

	public void setModel(IModel model) {
		// TODO Auto-generated method stub
		
	}

	public EViewList getName() {
		// TODO Auto-generated method stub
		return null;
	}

	public IModel getModel() {
		// TODO Auto-generated method stub
		return null;
	}

	public void onAction(String arg0, boolean arg1, float arg2) {
		// TODO Auto-generated method stub
		
	}

	public void initView() {
		// TODO Auto-generated method stub
		
	}

	public void closeView() {
		// TODO Auto-generated method stub
		
	}

	public Geometry getGeometry() {
		// TODO Auto-generated method stub
		return null;
	}

	public void loadInputListeners() {
		// TODO Auto-generated method stub
		
	}

	public HashSet<String> getInputListeners() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
	
	
}


//@Override
//protected void loadInputListeners() {
//	// Add input events that this view listens for
//	
//}
//
//public void initView() {
//	String identifier = String.valueOf(modelKey.getValue());
//	geometry = new Geometry(identifier, new Box(Vector3f.ZERO, 1.0f, 1.0f, 1.0f));
//	geometry.setMaterial(material);	
//	update();
//}
//
//public void update() {
//	//MGalaxy galaxy = (MGalaxy) model;
//	
//	
//	//update location
//	//geometry.setLocalRotation(galaxy.getGalaxyRotation());
//	//geometry.setLocalTranslation(galaxy.getTranslation());
//}
//
//public void onAction(String arg0, boolean arg1, float arg2) {
//	// TODO Auto-generated method stub
//	
//}
